using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.FIM
{
    [Table("fim_mas_banks"), DataContract]
    public class MasBank
    {

		[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		[DataMember, Display(Name = "BankId", ResourceType = typeof(Resources.MasBanksResource))]
        [Column("bank_seq")]
        public int BankId { get; set; }

        [DataMember, Display(Name = "Code", ResourceType = typeof(Resources.MasBanksResource))]
        [Column("bank_id")]
        public string Code { get; set; }

		[DataMember, Display(Name = "BankName", ResourceType = typeof(Resources.MasBanksResource))]
        [Column("bank_name")]
        public string Name { get; set; }

		[DataMember, Display(Name = "BankNameEng", ResourceType = typeof(Resources.MasBanksResource))]
        [Column("bank_name_eng")]
        public string NameEng { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.MasBanksResource))]
        [Column("record_status")]
        public string RecordStatus { get; set; }

		[DataMember, Display(Name = "CreatedBy", ResourceType = typeof(Resources.MasBanksResource))]
        [Column("created_by")]
        public Nullable<int> CreatedBy { get; set; }

		[DataMember, Display(Name = "CreatedWhen", ResourceType = typeof(Resources.MasBanksResource))]
        [Column("created_when")]
        public Nullable<System.DateTime> CreatedWhen { get; set; }

		[DataMember, Display(Name = "UpdatedBy", ResourceType = typeof(Resources.MasBanksResource))]
        [Column("updated_by")]
        public Nullable<int> UpdatedBy { get; set; }

		[DataMember, Display(Name = "UpdatedWhen", ResourceType = typeof(Resources.MasBanksResource))]
        [Column("updated_when")]
        public Nullable<System.DateTime> UpdatedWhen { get; set; }

    }
}